﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PublishSetting.aspx.cs" Inherits="Whir_System_Module_Publish_PublishSetting" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>站点设置</title>
    <link href="../../Skin/Default/Css/main.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        if (top.location == self.location) { 
            alert('禁止访问子栏目页！将跳转到默认页面');
            top.location='../../Default.aspx';
        } 
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#DADADA">
            <tr>
                <td height="26" colspan="2" align="left" class="form_title"><strong>发布设置</strong></td>
            </tr>
            <tr>
                <td width="130px" height="30" align="center" class="form_tdText">列表页生成HTML</td>
                <td align="left" class="form_td">
                    <asp:RadioButtonList ID="rbListHtml" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="1">是</asp:ListItem>
                        <asp:ListItem Value="0">否</asp:ListItem>
                    </asp:RadioButtonList></td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">栏目列表文件的存放位置</td>
                <td align="left" class="form_td">&nbsp;<asp:RadioButtonList ID="rbSavePath" runat="server">
                    <asp:ListItem Value="0">列表文件分目录保存在所属栏目的文件夹中</asp:ListItem>
                </asp:RadioButtonList></td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">内容页生成HTML</td>
                <td align="left" class="form_td">&nbsp;<asp:RadioButtonList ID="rbContentHtml" runat="server"
                    RepeatDirection="Horizontal">
                    <asp:ListItem Value="1">是</asp:ListItem>
                    <asp:ListItem Value="0">否</asp:ListItem>
                </asp:RadioButtonList></td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">内容页的文件名规则</td>
                <td align="left" class="form_td">&nbsp;<asp:TextBox ID="txtDir" runat="server" Width="230px">{$Category}/{$Year}/{$Month}/{$Day}</asp:TextBox>/<asp:TextBox
                    ID="txtFileName" runat="server">{$Time}{$InfoID}</asp:TextBox>.<asp:DropDownList
                        ID="dropFileExt" runat="server" CssClass="select_default">
                        <asp:ListItem>html</asp:ListItem>
                        <asp:ListItem>htm</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">自动生成HTML时的生成方式</td>
                <td align="left" class="form_td">
                    <asp:RadioButtonList ID="rbCreateHtmlType" runat="server">
                        <asp:ListItem>手动生成，由管理员在生成管理手动生成全部所需的页面</asp:ListItem>
                        <asp:ListItem>只自动生成内容页</asp:ListItem>
                        <asp:ListItem>自动生成内容页和所属栏目的列表页</asp:ListItem>
                        <asp:ListItem>自动生成内容页和所属栏目及父栏目的列表页</asp:ListItem>
                    </asp:RadioButtonList>&nbsp;</td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText"></td>
                <td align="left" class="form_td">
                    <asp:Button ID="btnUpdate" runat="server" Text="修改" CssClass="btn_default" OnClick="btnUpdate_Click" />
                    <input id="Reset1" type="reset" value="重置" class="btn_default" />&nbsp;&nbsp;&nbsp;
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
